package com.zhy.sping.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_course")
public class Course {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String info;//课程简介
    private Integer tid;
    private String imgurl;
    private String type;//类型
    private String tags;// ,隔开
    private Integer price;//原价，单位分
    private Integer currprice;//原价，单位分
    private String ctype;
    private Date ctime;
}
